package com.zxy.permission_stu.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.zxy.permission_stu.entity.Student;
import com.zxy.permission_stu.mapper.StudentMapper;
import com.zxy.permission_stu.service.IStudentService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author lenovo
 * @since 2021-11-30
 */
@Service
public class StudentServiceImpl extends ServiceImpl<StudentMapper, Student> implements IStudentService {

    @Autowired
    private StudentMapper studentMapper;

    @Override
    public List<Student> getStudent(Student student) {
        List<Student> list = studentMapper.getStudent(student);
        return list;
    }
}
